﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using FwProject.Comm.ExcelUtil;

namespace FwProject.Distribution.Dto.Statistics
{
    /// <summary>
    /// 配送商品统计
    /// </summary>
    [DisplayName(displayName:"配送商品统计")]
    public class DistributionProductStatisticsDto
    {

        public Guid TypeId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        [DisplayName(displayName:"商品名称")]
        [ExcelDateMember]
        public string ProductName { get; set; }

        /// <summary>
        /// 配送数量
        /// </summary>
        [DisplayName(displayName:"配送箱数")]
        [ExcelDateMember(IsSum =true)]
        public int DistributionCount { get; set; }
        [DisplayName(displayName: "配送套数")]
        [ExcelDateMember(IsSum = true)]
        public int DistributionSetCount { get; set; }

        /// <summary>
        /// 回收数量
        /// </summary>
        [DisplayName(displayName: "回收箱数")]
        [ExcelDateMember(IsSum = true)]
        public int RecoveryCount { get; set; }
        [DisplayName(displayName: "回收套数")]
        [ExcelDateMember(IsSum = true)]
        public int RecoverySetCount { get; set; }

        /// <summary>
        /// 换货数量
        /// </summary>
        [DisplayName(displayName: "换货箱数")]
        [ExcelDateMember(IsSum = true)]
        public int ExchangegoodsCount { get; set; }
        [DisplayName(displayName: "换货套数")]
        [ExcelDateMember(IsSum = true)]
        public int ExchangegoodsSetCount { get; set; }

        /// <summary>
        /// 赠送数量
        /// </summary>
        [DisplayName(displayName: "赠送箱数")]
        [ExcelDateMember(IsSum = true)]
        public int GiveCount { get; set; }
        [DisplayName(displayName: "赠送套数")]
        [ExcelDateMember(IsSum = true)]
        public int GiveSetCount { get; set; }

        /// <summary>
        /// 退箱数量
        /// </summary>
        //[DisplayName(displayName: "退回箱数")]
        //[ExcelDateMember(IsSum = true)]
        public int BackBoxCount { get; set; }

        /// <summary>
        /// 退回数量
        /// </summary>
        [DisplayName(displayName: "退回套数")]
        [ExcelDateMember(IsSum = true)]
        public int BackNumberCount { get; set; }

        /// <summary>
        /// 折损数量
        /// </summary>
        [DisplayName(displayName: "折损套数")]
        [ExcelDateMember(IsSum = true)]
        public int DamageCount { get; set; }

        /// <summary>
        /// 应收金额
        /// </summary>
        [DisplayName(displayName: "应收金额")]
        [ExcelDateMember(IsSum = true)]
        public decimal TotalPrice { get; set; }
    }
}
